package com.flex.mobile.util;

import flex.messaging.client.FlexClient;
import flex.messaging.client.FlexClientListener;

public class MyFlexClientListener implements FlexClientListener {

   @Override
   public void clientCreated(FlexClient client) {
      System.out.println("FlexClient created: " + client.getId());
      client.addClientDestroyedListener(this); 
   }

   @Override
   public void clientDestroyed(FlexClient client) {
      System.out.println("FlexClient destroyed: " + client.getId());
   }

}
